[ote] Add windows-ote-setup step for WMCO non-payload OTE binary#77555
[ote] Add windows-ote-setup step for WMCO non-payload OTE binary#77555weinliu wants to merge 1 commit intoopenshift:mainfrom
Conversation
a70d1f0 to
bfcbcf7
Compare
bfcbcf7 to
08dced3
Compare
|
/pj-rehearse aws-e2e-operator |
|
@weinliu: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: weinliu The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@weinliu: job(s): aws-e2e-operator either don't exist or were not found to be affected, and cannot be rehearsed |
9211336 to
db1cb6f
Compare
|
/pj-rehearse pull-ci-openshift-windows-machine-config-operator-master-aws-e2e-operator |
|
@weinliu: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
WMCO is an OLM optional operator (not CVO-managed payload), so the standard payload-based OTE binary registration does not apply. This step implements the non-payload OTE binary mechanism introduced in openshift/origin#30863 (TestExtensionAdmission CRD + ImageStreamTag annotations). When run after WMCO is deployed: 1. Creates an ImageStream in the WMCO namespace pointing to the CI image (built from Dockerfile.ci, which includes wmco-tests-ext.gz) 2. Annotates the ImageStreamTag with testextension.redhat.io/component and testextension.redhat.io/binary for OTE discovery 3. Installs the TestExtensionAdmission CRD 4. Creates a TestExtensionAdmission CR permitting the WMCO namespace Added to aws-e2e-operator job to enable rehearsal testing. Related: WINC-1777, OCP-37362
db1cb6f to
ac56bab
Compare
|
/pj-rehearse pull-ci-openshift-windows-machine-config-operator-master-aws-e2e-operator |
|
@weinliu: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
[REHEARSALNOTIFIER]
Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
@weinliu: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
|
Closing, please open a separate request if this work is still required. |
Summary
WMCO is an OLM optional operator (not CVO-managed payload), so the standard payload-based OTE binary registration in
binary.godoes not apply (see openshift/origin#30945 which was closed for this reason).This PR adds a new
windows-ote-setupstep that implements the non-payload OTE binary mechanism introduced in openshift/origin#30863 (TestExtensionAdmissionCRD + ImageStreamTag annotations).What the step does
When run after WMCO is deployed on a cluster:
ImageStream(wmco-ote) in the WMCO namespace pointing to the CI image (built fromDockerfile.ci, which includes/usr/bin/wmco-tests-ext.gz)ImageStreamTagwithtestextension.redhat.io/componentandtestextension.redhat.io/binaryfor OTE discoveryTestExtensionAdmissionCRDTestExtensionAdmissionCR permitting the WMCO namespaceAfter this step,
openshift-testswill automatically discover and execute the WMCO OTE binary via the non-payload mechanism.Usage
Add
windows-ote-setupto thetest:section of WMCO e2e workflows, before anyopenshift-tests runstep:Related